home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Development / Source / MultiSession 1.04 Source / Core 27⁄June⁄1993 / CButton.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-22  |  654 b   |  30 lines  |  [TEXT/KAHL]

  1. /* CButton.h */
  2.  
  3. #pragma once
  4.  
  5. #include "CViewRect.h"
  6.  
  7. /* forward */
  8. class CWindow;
  9.  
  10. struct    CButton    :    CViewRect
  11.     {
  12.         char            KeyEquivalent;
  13.         short            KeyModifiers;
  14.         short            ActiveModifiers;
  15.         EXECUTE(MyBoolean Initialized;)
  16.  
  17.         void            IButton(LongPoint Start, LongPoint Extent, char Key, short Modifiers,
  18.                                 CWindow* TheWindow, CEnclosure* TheEnclosure);
  19.         void            DoMouseDown(MyEventRec Event);
  20.         MyBoolean    DoKeyDown(MyEventRec Event);
  21.         void            DoUpdate(void);
  22.         void            DoEnable(void);
  23.         void            DoDisable(void);
  24.         void            RedrawNormal(void);
  25.         void            RedrawHilited(void);
  26.         MyBoolean    DoThang(void);
  27.         void            DoEnter(void);
  28.         void            DoLeave(void);
  29.     };
  30.